package com.ruoyi.books.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 非遗历史发展对象 books_history
 * 
 * @author ruoyi
 * @date 2024-03-27
 */
public class BooksHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long historyId;

    /** 归属项目ID */
    @Excel(name = "归属项目ID")
    private Long historyAscriptionId;

    /** 部分内容 */
    @Excel(name = "部分内容")
    private String historyPart;

    public void setHistoryId(Long historyId) 
    {
        this.historyId = historyId;
    }

    public Long getHistoryId() 
    {
        return historyId;
    }
    public void setHistoryAscriptionId(Long historyAscriptionId) 
    {
        this.historyAscriptionId = historyAscriptionId;
    }

    public Long getHistoryAscriptionId() 
    {
        return historyAscriptionId;
    }
    public void setHistoryPart(String historyPart) 
    {
        this.historyPart = historyPart;
    }

    public String getHistoryPart() 
    {
        return historyPart;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("historyId", getHistoryId())
            .append("historyAscriptionId", getHistoryAscriptionId())
            .append("historyPart", getHistoryPart())
            .toString();
    }
}
